package com.baizhi.cmfz.dao;

import com.baizhi.cmfz.entiy.Admin;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

public interface AdminDao extends BaseMapper<Admin> {

    Admin selectOne(@Param("username") String userName,@Param("password") String password);

    void update(Admin admin);

    //通过用户名获取Admin_id
    int getAdminIdByUsername(String username);
}
